from django.conf.urls import url, include
from django.contrib import admin
from .views import RegisterImageCodeView,RegisterSmscodeView

urlpatterns = [

    url(r'^imagecodes/(?P<image_code_id>.+)/$',RegisterImageCodeView.as_view()),
    # url(r'^smscodes/(?P<mobile>1[345789]\d{9})/$',RegisterSmscodeView.as_view()),
    # GET /users/phones/(?P<mobile>1[345789]\d{9})/count/
    # GET /verifications/imagecodes/(?P<image_code_id>.+)/
    # url(r'^phones/(?P<mobile>1[345789]\d{9})/count/$',RegisterPhoneCountAPIView.as_view()),
    # GET     verifications/smscodes/(moble)/?text=xxxx&image_code_id=xxxx
    url(r'^smscodes/(?P<mobile>1[345789]\d{9})/$', RegisterSmscodeView.as_view()),

]